package com.wanghua.mall.user.openfeign;

import com.wanghua.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author wanghua
 * @create 2021-09-11 9:27
 */
@FeignClient("mall-order")
public interface UserClient {

    /**
     * 查询某个用户的订单列表
     */
    @PostMapping("/order/order/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> params);


}
